<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <ul >
        {% for hero in heros %}
            <li style="color: red">{{ hero.hname }}  :  <span style="color: blue">{{ hero.hbook}}</span></li>
        {% endfor %}
    </ul>
</body>
</html>